package com.ultimatech.webappdemo.base.model;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

/**
 * Created by zhangleping on 2017/5/15.
 */
@Entity
@DiscriminatorValue("timecard")
public class TimeCard extends RechargeCard {

    private Integer totalTimes;

    private Integer restTimes;

    private Integer costTimes;

    public Integer getTotalTimes() {
        return totalTimes;
    }

    public void setTotalTimes(Integer totalTimes) {
        this.totalTimes = totalTimes;
    }

    public Integer getRestTimes() {
        return restTimes;
    }

    public void setRestTimes(Integer restTimes) {
        this.restTimes = restTimes;
    }

    public Integer getCostTimes() {
        return costTimes;
    }

    public void setCostTimes(Integer costTimes) {
        this.costTimes = costTimes;
    }
}
